<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>LibCDS: Stack Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LibCDS
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structStack.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">Stack Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The implementation for stack.  
 <a href="structStack.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a69e3e18aef64433ee8ac234952d2093a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stack_8h.html#af968af8c43a6dda234dde1f746408d3a">StackData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structStack.html#a69e3e18aef64433ee8ac234952d2093a">pData</a></td></tr>
<tr class="memdesc:a69e3e18aef64433ee8ac234952d2093a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The container private information.  <a href="#a69e3e18aef64433ee8ac234952d2093a">More...</a><br/></td></tr>
<tr class="separator:a69e3e18aef64433ee8ac234952d2093a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a591908b7610a6275335c033b66bded9f"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structStack.html#a591908b7610a6275335c033b66bded9f">push</a> )(struct _Stack *, Item)</td></tr>
<tr class="memdesc:a591908b7610a6275335c033b66bded9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert an item to the top of the stack.  <a href="#a591908b7610a6275335c033b66bded9f">More...</a><br/></td></tr>
<tr class="separator:a591908b7610a6275335c033b66bded9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc26bf8a52ad6f99669b1aa6ecafe9a7"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structStack.html#adc26bf8a52ad6f99669b1aa6ecafe9a7">top</a> )(struct _Stack *, Item *)</td></tr>
<tr class="memdesc:adc26bf8a52ad6f99669b1aa6ecafe9a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve item from the top of the stack.  <a href="#adc26bf8a52ad6f99669b1aa6ecafe9a7">More...</a><br/></td></tr>
<tr class="separator:adc26bf8a52ad6f99669b1aa6ecafe9a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a954ecc5777b207c7741623a0b147b02d"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structStack.html#a954ecc5777b207c7741623a0b147b02d">pop</a> )(struct _Stack *)</td></tr>
<tr class="memdesc:a954ecc5777b207c7741623a0b147b02d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete item from the top of the stack.  <a href="#a954ecc5777b207c7741623a0b147b02d">More...</a><br/></td></tr>
<tr class="separator:a954ecc5777b207c7741623a0b147b02d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af94d4377f882ffad54596c782a13f3eb"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structStack.html#af94d4377f882ffad54596c782a13f3eb">size</a> )(struct _Stack *)</td></tr>
<tr class="memdesc:af94d4377f882ffad54596c782a13f3eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of stored items.  <a href="#af94d4377f882ffad54596c782a13f3eb">More...</a><br/></td></tr>
<tr class="separator:af94d4377f882ffad54596c782a13f3eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa824b3a5eb8695e01de331b959474350"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structStack.html#aa824b3a5eb8695e01de331b959474350">set_destroy</a> )(struct _Stack *, void(*)(Item))</td></tr>
<tr class="memdesc:aa824b3a5eb8695e01de331b959474350"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the custom item resource clean method.  <a href="#aa824b3a5eb8695e01de331b959474350">More...</a><br/></td></tr>
<tr class="separator:aa824b3a5eb8695e01de331b959474350"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The implementation for stack. </p>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00014">14</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a69e3e18aef64433ee8ac234952d2093a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="stack_8h.html#af968af8c43a6dda234dde1f746408d3a">StackData</a>* Stack::pData</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The container private information. </p>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00016">16</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a591908b7610a6275335c033b66bded9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Stack::push)(struct _Stack *, Item)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Insert an item to the top of the stack. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="stack_8h.html#a1245bd0f5a05613512420b3255bcfa74" title="Insert an item to the top of the stack. ">StackPush</a> </dd></dl>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00020">20</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="adc26bf8a52ad6f99669b1aa6ecafe9a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Stack::top)(struct _Stack *, Item *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve item from the top of the stack. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="stack_8h.html#a4ac15dedfababd313e61132761b5ce3a" title="Retrieve item from top of the stack. ">StackTop</a> </dd></dl>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00024">24</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a954ecc5777b207c7741623a0b147b02d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Stack::pop)(struct _Stack *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete item from the top of the stack. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="stack_8h.html#a612f324df336d05db3266421ee35ea39" title="Delete item from top of the stack. ">StackPop</a> </dd></dl>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00028">28</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="af94d4377f882ffad54596c782a13f3eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Stack::size)(struct _Stack *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the number of stored items. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="stack_8h.html#af28cb452f15d021156d0bf5626ffd1e8" title="Return the number of stored items. ">StackSize</a> </dd></dl>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00032">32</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa824b3a5eb8695e01de331b959474350"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Stack::set_destroy)(struct _Stack *, void(*)(Item))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the custom item resource clean method. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="stack_8h.html#a45e7a4767c677ff44f39b5a6ed862076" title="Set the custom item resource clean method. ">StackSetDestroy</a> </dd></dl>

<p>Definition at line <a class="el" href="stack_8h_source.html#l00036">36</a> of file <a class="el" href="stack_8h_source.html">stack.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structStack.html">Stack</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
